package org.starapp.generator;

import java.util.List;

public class Table {
	//tablename
	private String tableName;
	//className
	private String className;
	//
	private String classAttrName;

	//关系表不显示
	private boolean hidden;
	
	//fields 
	private List<TableField> fields;
	//primaryKey
	private List<PrimaryKey> primaryKeys;
	//foreignKey
	private List<ForeignKey> foreignKeys;
	
	
	
	public boolean isHidden() {
		return hidden;
	}
	public void setHidden(boolean hidden) {
		this.hidden = hidden;
	}
	//Ref
	public List<RefField> refs;
	
	public List<RefField> getRefs() {
		return refs;
	}
	public void setRefs(List<RefField> refs) {
		this.refs = refs;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public String getClassAttrName() {
		return classAttrName;
	}
	public void setClassAttrName(String classAttrName) {
		this.classAttrName = classAttrName;
	}
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public List<TableField> getFields() {
		return fields;
	}
	public void setFields(List<TableField> fields) {
		this.fields = fields;
	}
	
	public List<PrimaryKey> getPrimaryKeys() {
		return primaryKeys;
	}
	public void setPrimaryKeys(List<PrimaryKey> primaryKeys) {
		this.primaryKeys = primaryKeys;
	}
	public List<ForeignKey> getForeignKeys() {
		return foreignKeys;
	}
	public void setForeignKeys(List<ForeignKey> foreignKeys) {
		this.foreignKeys = foreignKeys;
	}
	
	
}
